@extends('layout.app')
@section('title', '')
@section('content')
    <!-- breadcumb area -->
    <div class="breadcumb-area">
        <div class="container">
            <div class="row">
                <div class="col-md-12 txtc  text-center ccase">
                    <div class="brpt">
                        <h2>案例介绍</h2>
                    </div>
                </div>
            </div>
        </div>
    </div>


    <!-- End breadcumb area -->
    <!-- blog-left-side widget -->
    <div class="witr-blog-side-area blog_sidebar">
        <div class="container">
            <div class="row">

                {{--左侧--}}
                <div class="col-lg-4 col-md-5 col-sm-12 col-xs-12 sidebar-right content-widget pdsl">
                    <div class="blog-left-side widget">
                        <div class="widget widget_search">
                            <div class="defaultsearch">
                                <form>
                                    <input type="text" name="search" placeholder="Search" title="Search for:">
                                    <button type="submit" class="icons">
                                        <i class="fa fa-search"></i>
                                    </button>
                                </form>
                            </div>
                        </div>
                        <div class="widget widget_categories">
                            <h2 class="widget-title">案例介绍</h2>
                            <ul>
                                @foreach($categories as $cat)
                                    <li><a href="{{route('service',['id'=>$cat['id']])}}">{{$cat['name']}}</a></li>
                                @endforeach

                            </ul>
                        </div>
                    </div>
                </div>

                {{--右侧--}}
                <div class="col-lg-8 col-md-7 col-sm-12 col-xs-12">
                    <div class="row"  style="margin-left: 15%">
                        @if(!is_empty($content))
                          {!! $content['content'] !!}
                        @endif
                    </div>
                </div>
            </div>
        </div>
    </div>

@stop





